package com.pointi.vasEngine;

public class vasFilterData
{
	public static final int NULL = -1 ;
	
	private int n_Value ;
	private int n_Index ;
	private int n_Count ;
	
	public vasFilterData()
	{
		this.fnInitialize() ;
	}
	
	public void fnInitialize()
	{
		n_Value = vasFilterData.NULL ;
		n_Index = vasFilterData.NULL ;
		n_Count = vasFilterData.NULL ;
	}
	
	public void fnSetFilterData(int inValue, int inIndex)
	{
		n_Value = inValue ;
		n_Index = inIndex ;
		n_Count = 1 ;
	}

	public void fnReplaceData(vasFilterData inFD)
	{
		n_Value = inFD.n_Value ;
		n_Index = inFD.n_Index ;
		n_Count = inFD.n_Count ;
	}
	
	public int value() { return n_Value ; }
	public int index() { return n_Index ; }
	public int count() { return n_Count ; }
	public void add() { n_Count++ ; }
}
